package com.rzico.basics.amap.pojo.response;

/**
 * Created by lam on 2018/8/8.
 */
public class GeoResponse {

    private Object data;
    private Integer errcode;
    private String errmsg;

    public GeoResponse(Integer errcode, String errmsg) {
        this.errcode = errcode;
        this.errmsg = errmsg;
    }

    public static GeoResponse data(Object data, Integer errcode, String errmsg) {
        GeoResponse geo = new GeoResponse(errcode, errmsg);
        geo.data = data;
        return geo;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Integer getErrcode() {
        return errcode;
    }

    public void setErrcode(Integer errcode) {
        this.errcode = errcode;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }
}
